<?php
include_once('common/header.php');
if($AppUI->id <= 0 || (isset($_SESSION['place']) && ($_SESSION['place'] <= 0))) {
	Vfriend_Function::redirect(HOST_BACKEND);
}
$strRefer	= Vfriend_Function::base64D($objRequest->getParam('refer',''));
if($strRefer == '') $strRefer = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : (HOST_BACKEND . 'place');
$intPlaceId = $objRequest->getParam('placeid', 0);
$objPlace	= new Place();
$arrInfo	= $objPlace->get($intPlaceId);
$arrImage	= $objPlace->getImages($intPlaceId);
$this->view->row 		= $arrInfo;
$this->view->arrImage 	= $arrImage;
$this->view->refer 		= $strRefer;
?>